package com.gong.DesignPattern.ObserverPattern;

/**
 * @author GongChang
 * @version 1.0
 * @date 2021/6/29 0029 9:24
 */
public class Test {

    public static void main(String[] args) {
        Zhangsan zhangsan = new Zhangsan();

        zhangsan.borrow(new Wangwu());

        zhangsan.giveBack();
    }
}
